import logging

from datetime import datetime

from datetime import datetime


current_time = datetime.now()
formatted_date = datetime.strftime(current_time, '%Y-%m-%d %H:%M:%S')

print(formatted_date)


# date_string = 'Sun May 01 21:48:58 2022'
# date_obj = datetime.strptime(date_string, '%a %b %d %H:%M:%S %Y')
# formatted_date = datetime.strftime(date_obj, '%Y-%m-%d %H:%M:%S')

# print(formatted_date)

# logger = logging.getLogger(__name__)
logger = logging.getLogger("gorse")


def configure_logger():
    logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
